<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
   <table border="1">
       <tr is="my_title"></tr>
       <tr><td>1</td><td>朱厚宇</td><td>10</td></tr>
   </table>
</div>

<script type="text/javascript" src="../js/vue-2.6.12.js"></script>
<script>
    new Vue({
        el:"#app",
        components:{
            my_title:{
                template:"<tr><td>id</td><td>学生姓名</td><td>学生的年龄</td></tr>"
            }
        }
    });
</script>
</body>
</html>